Command: CP (Configure Printer). Can only be used in offline state.
Function: To select either serial printer (connected to the auxiliary port) or parallel printer (connected to the printer port). If Parallel printer is selected then there are no other parameters. If Serial printer is selected then the settings for the auxiliary port must be selected. Note that the auxiliary port can also be configured using the CA (Configure Auxiliary) command; any previous settings are overwritten.
Inputs: Serial
or parallel printer: S or P (default P)
Baud rate (for serial only)
Word format (for serial only)
Print test page (parallel printer only): Y or N
Outputs: Test page.
Errors: None.
Example 1: (serial printer)
CP <Return>
Series/Parallel? [S/P]: S <Return>
|
BAUD RATES |
WORD FORMATS |
||
|
1. |
300 |
1. |
7 bits, no parity, 1 stop |
|
2. |
600 |
2. |
7 bits, odd parity, 1 stop |
|
3. |
1200 |
3. |
7 bits, even parity, 1 stop |
|
4. |
2400 |
4. |
8 bits, no parity, 1 stop |
|
5. |
4800 |
5. |
8 bits, odd parity, 1 stop |
|
6. |
9600 |
6. |
8 bits, even parity, 1 stop |
|
7. |
19200 |
|
|
|
8. |
38400 |
|
|
In response to the prompts, enter the number of the
desired option or <RETURN> for no change.
Auxillary port baud rate: (current value = 6) <Return>
Auxillary port word format: (current value = 4) 3 <Return>
Print test page? [Y/N]:
The values entered take effect immediately after the command has been completed.
Example 2: (parallel printer)
CP <Return>
Series/Parallel? [S/P]: P <Return>
If a printer is detected that is online, the user is invited to print a test page:
Print test page? [Y/N]:
Otherwise the following is displayed:
Printer is offline
The default settings for the Auxiliary port when Serial printing is selected are:
Character Set: ASCII
Interface: RS 232-C (DTE) serial data not parallel
Baud rate: 9600 bps
Stop bits: 1
Data bits: 8
Parity: None
Flow Control: XON, XOFF
Note that the parallel printer port has no configurable parameters.